-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloud connectors role chaining #2960
base: main
Are you sure you want to change the base?
Conversation
34d5f72
to
e52824d
Compare
540de53
to
54ed5af
Compare
54ed5af
to
a3154bf
Compare
|
||
const defaultDuration = 5 * time.Minute | ||
|
||
// Chain Part 1 - Elastic Super Role Local |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super role is misleading term, indicate that the role permissions are elevated when it only should be allowed to assume the global role
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is something to discuss in RFC level, wdyt?
) | ||
localSuperRoleCredentialsCache := aws.NewCredentialsCache(localSuperRoleProvider) | ||
|
||
// Chain Part 2 - Elastic Super Role Global |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super role is misleading term, indicate that the role permissions are elevated when we need only audit (SecurityAudit built-in AWS)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The global super role has not the audit policy, it has no policy part from the "assume anything". Feel free to refer RFC regarding the terminology.
) | ||
globalSuperRoleCredentialsCache := aws.NewCredentialsCache(globalSuperRoleProvider) | ||
|
||
// Chain Part 3 - Elastic Super Role Local |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Chain Part 3 - Elastic Super Role Local | |
// Chain Part 3 - Elastic Remote SecurityAudit |
5c25106
to
3aaf8c5
Compare
40235b0
to
bb35e87
Compare
bb35e87
to
eea5b40
Compare
Summary of your changes
Screenshot/Data
Related Issues
Fixes: #2556
Checklist
Introducing a new rule?